package com.student.demo.util;

import java.util.List;

/**
 * 分页返回类
 *
 */
public class PageResult extends JsonResult<List<?>> {

    /**
     * 数量
     */
    private Integer count;
    /**
     * 统计数据
     */
    private Object totalRow;

    /**
     * 其它数据
     */
    private Object other;

    public PageResult() {
        //默认为成功的反馈内容
        this.setCode("000000");
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Object getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(Object totalRow) {
        this.totalRow = totalRow;
    }

    public Object getOther() {
        return other;
    }

    public void setOther(Object other) {
        this.other = other;
    }
}
